<?php

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view');

//require_once JPATH_COMPONENT.DS.'models'.DS.'images.php';

/**
 * Main view, shows the world map with pictures on
 * 
 */

class ViewWorld extends JView
{
    private $model;

    function setModel($mod)
    {
        $this->model = $mod;
    }

    function display($markers)
    {
        $this->addTemplatePath( JPATH_COMPONENT.DS.'views'.DS.'world'.DS.'tmpl');

        $this->assignRef( 'markers' , $markers );

        parent::display('worldmap');
    }
    
}

